using System.Collections;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using ctsu.Security;

namespace ctsu.BaseForms
{
	public interface IBLFormBase : IBLFormBaseButtonBar
	{
		Permission FormSecurity { get; set; }
		IFieldContextManager FieldContextManager { get; set; }
		FormBase Form { get; set; }
		FormInfoBase FormInfo { get; set; }
		DataTable TableSchema { get; set; }
		Hashtable ConfigData { get; set; }
		Icon FormIcon { set; }
		event BusinessLogicEvents.BLGridViewEventHandler GridView;
		event BusinessLogicEvents.BLTableChangeEventHandler TableChange;
		event BusinessLogicEvents.BLRequestIDFromOtherFormHandler RequestIDFromTarget;

		bool Initialize();
		bool Closing();
		void GenericClick(Control sender);
		void GenericDoubleClick(Control sender);
		void Central_TextChanged(object sender, System.EventArgs e);
		void Central_CheckedChanged(object sender, System.EventArgs e);
		void Central_ValueChanged(object sender, System.EventArgs e);
		void Central_SelectedIndexChanged(object sender, System.EventArgs e);
		void Central_Validating(object sender, System.ComponentModel.CancelEventArgs e);
	}
}
